// src/main/java/cn/luowb/checkchat/dto/resp/MediaUploadRespDTO.java
package cn.luowb.checkchat.dto.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "媒体上传响应参数")
public class MediaUploadRespDTO {

    @Schema(description = "文件访问URL", example = "https://minio.luowb.cn/check-chat/posts/20250901122018_avatar.jpg")
    private String url;

    @Schema(description = "文件类型", example = "image", allowableValues = {"image", "video", "audio"})
    private String type;

    @Schema(description = "文件名", example = "20250901122018_avatar.jpg")
    private String filename;

    @Schema(description = "文件大小（字节）", example = "102400")
    private Long size;

    @Schema(description = "MIME类型", example = "image/jpeg")
    private String mimeType;
}